package org.opens.controller.page;

import org.opens.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CustomizeTagController {

    @Autowired
    private PersonService personService;

    @RequestMapping(value = "/customizeTag")
    public String goCustomizeTagPage(Model model) {
        model.addAttribute("result", personService.findById(1));
        return "customizeTag";
    }

}
